package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 广告费对象 cw_advertising
 * 
 * @author ruoyi
 * @date 2022-11-29
 */
public class CwAdvertising extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键自增id */
    private Long aid;

    /** 广告的id */
    @Excel(name = "广告的id")
    private Long merchantid;

    /** 出租时间 */
    @Excel(name = "出租时间")
    private Long cztime;

    /** 到期时间 */
    @Excel(name = "到期时间")
    private Long duetime;

    /** 总费用 */
    @Excel(name = "总费用")
    private BigDecimal cost;

    public void setAid(Long aid) 
    {
        this.aid = aid;
    }

    public Long getAid() 
    {
        return aid;
    }
    public void setMerchantid(Long merchantid) 
    {
        this.merchantid = merchantid;
    }

    public Long getMerchantid() 
    {
        return merchantid;
    }
    public void setCztime(Long cztime) 
    {
        this.cztime = cztime;
    }

    public Long getCztime() 
    {
        return cztime;
    }
    public void setDuetime(Long duetime) 
    {
        this.duetime = duetime;
    }

    public Long getDuetime() 
    {
        return duetime;
    }
    public void setCost(BigDecimal cost) 
    {
        this.cost = cost;
    }

    public BigDecimal getCost() 
    {
        return cost;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("aid", getAid())
            .append("merchantid", getMerchantid())
            .append("cztime", getCztime())
            .append("duetime", getDuetime())
            .append("cost", getCost())
            .toString();
    }
}
